package cn.kgc.controller.jump;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 此controller类专门用于-跳转页面
 * 逻辑代码在logic包下实现
 */
@Controller
@RequestMapping("/to")
public class JumpTo {



    //跳转index页面
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
    //跳转log页面
    @RequestMapping("/log")
    public String log(){
        return "smj-Log";
    }
    //跳转error页面
    @RequestMapping("/error")
    public String error(){
        return "error";
    }
    //跳转login页面
    @RequestMapping("/login")
    public String login(){
        return "login";
    }
    //跳转login页面
    @RequestMapping("/welcome")
    public String welcome(){
        return "welcome";
    }
    //Test测试专用
    @RequestMapping("/test")
    public String Test1(){
        return "Test";
    }
    //跳转职位权限
    @RequestMapping("/ZhiWeiQuanXian")
    public String ZhiWeiQuanXian(){
        return "smj-ZhiWeiQuanXian";
    }
}
